.taggd {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #eee;
}

.taggd--loading {
  pointer-events: none;
}

.taggd--loading img {
  max-width: 100%;
}

.taggd--loading::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  content: '';
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: taggd-spinner 1s linear infinite;
}

.taggd__image {
  display: block;
  margin: 0;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.taggd__wrapper {
  position: absolute;
  display: block;
}

.taggd__button {
  display: block;
  width: 1rem;
  height: 1rem;
  padding: 0;
  margin: 0;
  margin-top: -0.5rem;
  margin-left: -0.5rem;
  background-color: rgba(0, 0, 0, 1);
  background-image: none;
  border: 0;
  border-radius: 0.5rem;
}

.taggd__popup {
  position: absolute;
  left: 0;
  background-color: rgba(255, 255, 255, 0.5);
}

@keyframes taggd-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}
